package com.du.entity;

import com.du.config.MapInfo;

import java.io.Serializable;
import java.util.List;

/**
 * @Desc :
 * @Author: shuangdu
 * @date : 2021/3/26
 */
public class MysqlInfo implements Serializable {

    @MapInfo(sign = "@a", text = "表名称")
    private String tableName;

    private String tableType;

    private String tableDesc;

    private String tableCharset;

    private List<String> primaryKey;

    private List<String> uniqueKey;

    private List<String> indexKey;

    @MapInfo(sign = "@b")
    private List<ColumnInfo> columns;


    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTableType() {
        return tableType;
    }

    public void setTableType(String tableType) {
        this.tableType = tableType;
    }

    public String getTableDesc() {
        return tableDesc;
    }

    public void setTableDesc(String tableDesc) {
        this.tableDesc = tableDesc;
    }

    public String getTableCharset() {
        return tableCharset;
    }

    public void setTableCharset(String tableCharset) {
        this.tableCharset = tableCharset;
    }

    public List<String> getPrimaryKey() {
        return primaryKey;
    }

    public void setPrimaryKey(List<String> primaryKey) {
        this.primaryKey = primaryKey;
    }

    public List<String> getUniqueKey() {
        return uniqueKey;
    }

    public void setUniqueKey(List<String> uniqueKey) {
        this.uniqueKey = uniqueKey;
    }

    public List<String> getIndexKey() {
        return indexKey;
    }

    public void setIndexKey(List<String> indexKey) {
        this.indexKey = indexKey;
    }

    public List<ColumnInfo> getColumns() {
        return columns;
    }

    public void setColumns(List<ColumnInfo> columns) {
        this.columns = columns;
    }
}
